<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->

<%@page language="java" contentType="text/html; charset=US-ASCII" pageEncoding="US-ASCII"%>
<%@page import="shm.capaDatos.vo.UsuarioVO" %>
<head>
  <title>P&aacute;gina Principal SH Manager</title>

  <meta HTTP-EQUIV="refresh" CONTENT="<%= session.getMaxInactiveInterval() %>;URL=login.jsp" />
  <meta charset="utf-8">
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width">

  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,400,600,700">
  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Oswald:400,300,700">
  <link rel="stylesheet" href="./css/font-awesome.min.css">
  <link rel="stylesheet" href="./js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.min.css">
  <link rel="stylesheet" href="./css/bootstrap.min.css">

  <!-- Plugin CSS -->
  <link rel="stylesheet" href="./js/plugins/morris/morris.css">
  <link rel="stylesheet" href="./js/plugins/icheck/skins/minimal/blue.css">
  <link rel="stylesheet" href="./js/plugins/select2/select2.css">
  <link rel="stylesheet" href="./js/plugins/fullcalendar/fullcalendar.css">
  <link rel="stylesheet" href="./js/libs/css/ui-lightness/jquery-ui-1.9.2.custom.css">
  <link rel="stylesheet" href="./js/plugins/magnific/magnific-popup.css">

  <!-- App CSS -->
  <link rel="stylesheet" href="./css/target-admin.css">
  <link rel="stylesheet" href="./css/custom.css">
  
  <!-- Page CSS -->
  <link rel="stylesheet" href="./css/demos/ui-notifications.css">
  
</head>

<body>
<%
if(session.getAttribute("idUsuarioLogueado") == null){
    response.sendRedirect("login.jsp");
    return;
}
String nombreUsuario = null;
String idSesion = null;
Cookie[] cookies = request.getCookies();
if(cookies != null){
	for(Cookie cookie : cookies){
		if(cookie.getName().equals("nombreUsuario")) nombreUsuario = cookie.getValue();
    	if(cookie.getName().equals("JSESSIONID")) idSesion = cookie.getValue();
	}
}
%>

<jsp:include page="/navbar.jsp"></jsp:include>
<%
	if(session.getAttribute("menuTipo").equals("admin")){
%> 		<%@include file="menuadmin.jsp" %>
<%	}else{
%> 
		<%@include file="menubasico.jsp" %>
<%		
    }
%>
  
<div class="container">
  <div class="content">
    <div class="content-container">
      
      <jsp:include page="mensajes.jsp"></jsp:include>
      
      <div>
       
      </div>

      <br>
      <br>

    </div> <!-- /.content-container -->
  </div> <!-- /.content -->
</div> <!-- /.container -->


<jsp:include page="/footer.jsp"></jsp:include>



  <script src="./js/libs/jquery-1.10.1.min.js"></script>
  <script src="./js/libs/jquery-ui-1.9.2.custom.min.js"></script>
  <script src="./js/libs/bootstrap.min.js"></script>

  <!--[if lt IE 9]>
  <script src="./js/libs/excanvas.compiled.js"></script>
  <![endif]-->
  
  <!-- Plugin JS -->
  <script src="./js/plugins/icheck/jquery.icheck.js"></script>
  <script src="./js/plugins/select2/select2.js"></script>
  <script src="./js/libs/raphael-2.1.2.min.js"></script>
  <script src="./js/plugins/morris/morris.min.js"></script>
  <script src="./js/plugins/sparkline/jquery.sparkline.min.js"></script>
  <script src="./js/plugins/nicescroll/jquery.nicescroll.min.js"></script>
  <script src="./js/plugins/fullcalendar/fullcalendar.min.js"></script>
  <script src="./js/plugins/magnific/jquery.magnific-popup.min.js"></script>
  <script src="./js/plugins/howl/howl.js"></script>

  <!-- App JS -->
  <script src="./js/target-admin.js"></script>
  
  <!-- Plugin JS -->
  <script src="./js/demos/dashboard.js"></script>
  <script src="./js/demos/calendar.js"></script>
  <script src="./js/demos/charts/morris/area.js"></script>
  <script src="./js/demos/charts/morris/donut.js"></script>
  <script src="./js/demos/ui-notifications.js"></script>

  

  
</body>
</html>
